<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>登陆</title>
</head>
<body>
<div th:if="${error}" th:text="${error}"></div>
    <form action="login" method="post">
        账号<input type="text" name="name">
        密码<input type="password" name="password"></input>
        <input type="submit" value="提交">
    </form>
</body>
</html>